package com.guxiuwei.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author 谷秀伟
 * @since 2023-03-07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Eroom对象", description="")
public class Eroom implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "单号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "机房")
    private String rid;

    @ApiModelProperty(value = "湿度")
    private int humidity;

    @ApiModelProperty(value = "温度")
    private int tp;

    @ApiModelProperty(value = "照明")
    private String light;

    @ApiModelProperty(value = "噪声")
    private Integer noise;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "巡检日期")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date patroldate;


}
